##################################################################################
## Company: fpgaPublish
## Engineer: f
## 
## Create Date: 2023/11/05 11:26:30
## Design Name: hello_world
## Module Name: 
## Project Name: 
## Target Devices: 
## Tool Versions: 
## Description: 
## 
## Dependencies: 
##  
## Revision: 
## Revision 0.01 - File Created 
## Additional Comments:
## 
##################################################################################
#add path
addpath("./lib_func");

# --------------------------------------------------------------------------------
# scan file
[l_img,l_name] = scan_imag_func(0);

# --------------------------------------------------------------------------------
# write imag
l_numb = rows(l_img);
l_name
for i =  1 : l_numb
    [p_img,n_img,s_img] = fileparts(l_name{i});
    pns_out = strcat(p_img,"\\",n_img,"_out",s_img)
    imwrite(l_img{i},pns_out);
end 

# --------------------------------------------------------------------------------
# if not debug exit it
pause(1);
quit();

